//
//  AppDelegate.m
//  TJHYHardwareProduct
//
//  Created by yc on 2017/12/25.
//  Copyright © 2017年 Cong Yao. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

+ (AppDelegate *)defaultService {
    return (AppDelegate *)[[UIApplication sharedApplication] delegate];
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    
    [self setWindowBaseConfig];
    [self setNetworkBaseConfig];
    [self setBuglyConfig];
    [self setRootViewController];
    [self setNetworkMonitorConfig];
    
//    [CoreJPush registerJPush:launchOptions];
    [JPUSHService setLogOFF];
    
    
    return YES;
}


@end
